package com.customer.crm.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.customer.crm.system.pojo.Menu;
import com.customer.crm.system.pojo.SystemFunction;
import com.customer.crm.system.pojo.SystemUser;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Lyp
 * @create 2021/12/16
 */
@Service
public interface SystemFunctionService extends IService<SystemFunction> {

    List<Menu> allSystemUserFunctions(String username);

    List<SystemFunction> findByRoleId(String id);

    List<SystemFunction> findByRoleIdCopy(String ids);
}
